#ifndef CONVERSATIONBOX_H_
#define CONVERSATIONBOX_H_

#include "TextBox.h"
#include "MenuElement.h"
#include "Object.h"
#include "Camera.h"

class ConversationBox : public MenuElement
{
	TextBox * textBox;
	Object * target; //to draw a speech line
	Camera * camera; //we need to convert between world space and camera space
	float textSize;
	
	Vector2D textBoxPosition;
	Vector2D textBoxSize;
	Vector2D speechLinePosition;
	
	public:
	ConversationBox(TextureManager * textureManager, Vector2D position, Vector2D size, float textSize,GameManager * gameManager, void (GameManager::*clickAction)(void));
	~ConversationBox();
	void SetText(Object * object, Camera * camera, char * newText);
	virtual void Draw(Vector2D parentPosition);
};
#endif /*CONVERSATIONBOX_H_*/
